load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "grpc",
    srcs = [
        "backoff.go",
        "balancer.go",
        "balancer_conn_wrappers.go",
        "balancer_v1_wrapper.go",
        "call.go",
        "clientconn.go",
        "codec.go",
        "dialoptions.go",
        "doc.go",
        "interceptor.go",
        "picker_wrapper.go",
        "pickfirst.go",
        "preloader.go",
        "proxy.go",
        "resolver_conn_wrapper.go",
        "rpc_util.go",
        "server.go",
        "service_config.go",
        "stream.go",
        "trace.go",
        "version.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc",
    importpath = "google.golang.org/grpc",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/net/trace",
        "//vendor/google.golang.org/grpc/backoff",
        "//vendor/google.golang.org/grpc/balancer",
        "//vendor/google.golang.org/grpc/balancer/base",
        "//vendor/google.golang.org/grpc/balancer/roundrobin",
        "//vendor/google.golang.org/grpc/codes",
        "//vendor/google.golang.org/grpc/connectivity",
        "//vendor/google.golang.org/grpc/credentials",
        "//vendor/google.golang.org/grpc/encoding",
        "//vendor/google.golang.org/grpc/encoding/proto",
        "//vendor/google.golang.org/grpc/grpclog",
        "//vendor/google.golang.org/grpc/internal",
        "//vendor/google.golang.org/grpc/internal/backoff",
        "//vendor/google.golang.org/grpc/internal/balancerload",
        "//vendor/google.golang.org/grpc/internal/binarylog",
        "//vendor/google.golang.org/grpc/internal/buffer",
        "//vendor/google.golang.org/grpc/internal/channelz",
        "//vendor/google.golang.org/grpc/internal/envconfig",
        "//vendor/google.golang.org/grpc/internal/grpcrand",
        "//vendor/google.golang.org/grpc/internal/grpcsync",
        "//vendor/google.golang.org/grpc/internal/grpcutil",
        "//vendor/google.golang.org/grpc/internal/resolver/dns",
        "//vendor/google.golang.org/grpc/internal/resolver/passthrough",
        "//vendor/google.golang.org/grpc/internal/transport",
        "//vendor/google.golang.org/grpc/keepalive",
        "//vendor/google.golang.org/grpc/metadata",
        "//vendor/google.golang.org/grpc/naming",
        "//vendor/google.golang.org/grpc/peer",
        "//vendor/google.golang.org/grpc/resolver",
        "//vendor/google.golang.org/grpc/serviceconfig",
        "//vendor/google.golang.org/grpc/stats",
        "//vendor/google.golang.org/grpc/status",
        "//vendor/google.golang.org/grpc/tap",
    ],
)
